home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48hor1 / periodic.doc < prev    next >
Text File  |  1995-03-31  |  1KB  |  26 lines

  1. PERIODIC, a Periodic Table utility 
  2. Originally by ?, optimized by Joe Horn 
  3.  
  4. This program was posted ages ago, and ran very slowly because it used a 
  5. loop to search through its lists.  I merely replaced the loop with the POS 
  6. function, which sped the program up by several orders of magnitiude. 
  7.  
  8. PURPOSE: Given either the Atomic Symbol or the Atomic Number of any element, 
  9. output the Atomic Number, Full Name, Atomic Symbol, and Atomic Weight. 
  10.  
  11. INSTRUCTIONS: Type an Atomic Symbol as a string (e.g. "Au") and press SYMB. 
  12. Or type an atomic number (e.g. 47) and press ANUM.  The output will fill the 
  13. bottom four stack levels.  If the search is not successful, 0 will be returned 
  14. to level 1.  The search is case sensitive (you must type "Au"; "AU" won't work, 
  15. nor will "au"). 
  16.  
  17. NOTES: The NAM variable is a list containing all the elements's names as 
  18. strings.  The ELM variable is a list containing all the elements' symbols and 
  19. weights as string/number pairs.  Both lists are in atomic number order, and may 
  20. be easily corrected or extended. 
  21.  
  22. It's a sorry excuse for a Periodic Table, but hey, it's cheaper than HP's EQ 
  23. Card, and it's great during chem/physics exams... 
  24.  
  25. -jkh- 
  26.